package com.example.gybicycle.entity;

import com.example.gybicycle.common.entity.Entity;
import io.swagger.v3.oas.annotations.media.Schema;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

@Data
@Schema(name ="停车点")
public class BikePoint    extends Entity {
    @Schema(description = "停车点id")
    private String id;
    @Schema(description = "停车点名")
    private String name;
    @Schema(description = "经维度")
    private String lonlat;
//    @Schema(description = "经度")
//    private BigDecimal longitude;
//    @Schema(description = "维度")
//    private BigDecimal latitude;
    @Schema(description = "修改人")
    private String editBy;
    @Schema(description = "修改人名称")
    private  String editName;
    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date editTime;
    @Schema(description ="备注")
    private String  remark;
    @Schema(description ="排序")
    private Integer  sort;
    @Schema(description ="选择锁")
    private List<LockSel> lockSels;
    @Schema(description ="选择锁")
    private List<String> locks;
}